package com.sq.partner.manager.service;

import java.io.InputStream;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.sq.partner.manager.common.exception.AppException;
import com.sq.partner.manager.mybatis.model.GatewayUser;
import com.sq.partner.manager.util.Page;

public interface RuleInfoService {
	/*
	 * 扫码出单 产品定制service
	 */
	
	public List<Map<String , String >> queryNlifePlans(String deptCode) throws SQLException;
	
	public void deletOldInfoByPlanNo(String planNo) throws Exception;
	
	public void insertNewPlanInfo(Map<String,String> map )throws Exception;
	
	public Map<String,String> queryPlanInfosByPlanNo(String planNo) throws Exception;
	
	public List<InputStream> getFileInputStream(MultipartFile[] myfiles) throws  Exception;	
	
	public List<Map<String,String>> loadRiskContent(Map<String, Object> map) throws Exception;
	
	public int loadRiskContentCount(Map<String, Object> map) throws Exception;

	public boolean isRiskFileExist(String riskCode) throws Exception;

	public String previewRiskContent(String riskCode)throws Exception;
	
	public Page<Map<String, Object>> queryPlanPageByCriteria(Page<Map<String, Object>> page) throws Exception;

}
